package com.example.mapper;
import com.example.pojo.ContactsGroup;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.vo.respvo.ContactsGroupVo;
import io.swagger.annotations.Api;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 联系人分组 Mapper 接口
 * </p>
 *
 * @author wsl
 * @since 2022-05-14
 */
@Mapper
@Repository
public interface ContactsGroupMapper extends BaseMapper<ContactsGroup> {

    /**
     * 查询用户联系人组
     * @param empId
     * @return
     */
    List<Map<String, Object>> selectUserContactsGroups(Integer empId);
}
